//
//  ScheduleCollectionViewCell.m
//  HarmonizePub
//
//  Created by rzhy on 2016/11/9.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import "ScheduleCollectionViewCell.h"

@interface ScheduleCollectionViewCell ()


@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation ScheduleCollectionViewCell

+ (NSString *)registerName {
    return @"ScheduleCollectionViewCell";
}

+ (CGFloat)itemHeight {
    return 50.0f;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setIsBoolean:(BOOL)isBoolean {
    _isBoolean = isBoolean;
    if (isBoolean) {
        self.titleLabel.text = @"预约";
        self.titleLabel.textColor = [UIColor colorWithRed:55/255.0f green:150/255.0f blue:217/255.0f alpha:1.0f];
    } else {
        self.titleLabel.text = @"--";
        self.titleLabel.textColor = [UIColor blackColor];
    }
}

@end
